/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.goodSRP.Config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.goodSRP.goodSRP.GoodSRPInt;
import za.ac.cput.goodSRP.goodSRP.GoodSRPInterface;
import za.ac.cput.goodSRP.goodSRP.Impl.AddImpl;
import za.ac.cput.goodSRP.goodSRP.Impl.SalincreaseImpl;

/**
 *
 * @author Administrator
 */
@Configurable
public class GoodSRP {
  @Bean(name="kumi")
  public GoodSRPInt kumi()
  {
      return new SalincreaseImpl(); 
  }
  @Bean(name="never")
  public GoodSRPInterface never()
  {
      return new AddImpl();
  }
}
